Close
dtSearch Text Retrieval Engine Programmer's Reference
ISearchResults::AddDoc Method
Syntax
IDL
HRESULT AddDoc([in] BSTR indexPath, [in] LONG docId, [in] VARIANT hits);

Add a specific document from an index to the search results list. docId is a document id identifying the document to add. hits is an array of integers containing the word offsets of the hits for this document. See the IndexInfo.vbs sample for an example of how AddDoc can be used.